package org.yjc.entity;



import java.sql.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
@Entity
public class Eim {
	//电子发票
	private Integer id;
	private String invnumber; //发票号码
	private String invcode; //发票代码
	private String tin; //发票编号
	private Date invdate; //开票日期
	private String reiapplicant; //报销人
	private Date reitime; //报销时间
	private String money; //报销金额
	private Lessee lessee; //租户

	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getInvnumber() {
		return invnumber;
	}
	public void setInvnumber(String invnumber) {
		this.invnumber = invnumber;
	}
	public String getInvcode() {
		return invcode;
	}
	public void setInvcode(String invcode) {
		this.invcode = invcode;
	}
	public String getTin() {
		return tin;
	}
	public void setTin(String tin) {
		this.tin = tin;
	}
	public Date getInvdate() {
		return invdate;
	}
	public void setInvdate(Date invdate) {
		this.invdate = invdate;
	}
	public String getReiapplicant() {
		return reiapplicant;
	}
	public void setReiapplicant(String reiapplicant) {
		this.reiapplicant = reiapplicant;
	}
	public Date getReitime() {
		return reitime;
	}
	public void setReitime(Date reitime) {
		this.reitime = reitime;
	}
	public String getMoney() {
		return money;
	}
	public void setMoney(String money) {
		this.money = money;
	}
	@ManyToOne
	public Lessee getLessee() {
		return lessee;
	}
	public void setLessee(Lessee lessee) {
		this.lessee = lessee;
	}	
}
